<Activity mc:Ignorable="sap" x:Class="LanSunStudio.WorkFlow.Activities.WFEditApplicationManagement" 
          xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" 
          xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
          xmlns:lc="clr-namespace:LanSunStudio.Core;assembly=LanSunStudio.Core" 
          xmlns:cv="clr-namespace:LanSunStudio.ExClassLib.Converters;assembly=LanSunStudio.ExClassLib"
          xmlns:le="clr-namespace:LanSunStudio.ExClassLib;assembly=LanSunStudio.ExClassLib" 
          xmlns:lem="clr-namespace:LanSunStudio.ExClassLib.MessageExtention;assembly=LanSunStudio.ExClassLib"
          xmlns:led="clr-namespace:LanSunStudio.ExClassLib.Data;assembly=LanSunStudio.ExClassLib"
          xmlns:wfa="clr-namespace:LanSunStudio.ExClassLib.WFActivities;assembly=LanSunStudio.ExClassLib" 
          xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
          xmlns:mv="clr-namespace:Microsoft.VisualBasic;assembly=System" 
          xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities"
          xmlns:s="clr-namespace:System;assembly=mscorlib" 
          xmlns:s1="clr-namespace:System;assembly=System"
          xmlns:s2="clr-namespace:System;assembly=System.Xml"
          xmlns:s3="clr-namespace:System;assembly=System.Core"
          xmlns:s4="clr-namespace:System;assembly=System.ServiceModel"
          xmlns:sa="clr-namespace:System.Activities;assembly=System.Activities" 
          xmlns:sad="clr-namespace:System.Activities.Debugger;assembly=System.Activities" 
          xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
          xmlns:scg="clr-namespace:System.Collections.Generic;assembly=System" 
          xmlns:scg1="clr-namespace:System.Collections.Generic;assembly=System.ServiceModel" 
          xmlns:scg2="clr-namespace:System.Collections.Generic;assembly=System.Core" 
          xmlns:scg3="clr-namespace:System.Collections.Generic;assembly=mscorlib" 
          xmlns:sd="clr-namespace:System.Data;assembly=System.Data" 
          xmlns:sl="clr-namespace:System.Linq;assembly=System.Core" 
          xmlns:st="clr-namespace:System.Text;assembly=mscorlib" 
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="Settings" Type="InArgument(wfa:WFSettings)" />
    <x:Property Name="CheckResult" Type="OutArgument(wfa:ResultMessage)" />
    <x:Property Name="HasNewJob" Type="OutArgument(x:Boolean)" /> 
  </x:Members>
  <sap:VirtualizedContainerService.HintSize>719,676</sap:VirtualizedContainerService.HintSize>
  <mva:VisualBasic.Settings>Assembly references and imported namespaces for internal implementation</mva:VisualBasic.Settings>
  <StateMachine DisplayName="WFStateMachine"
                sap:VirtualizedContainerService.HintSize="679,636">
    <StateMachine.InitialState>
      <x:Reference>State1</x:Reference>
    </StateMachine.InitialState>
    <StateMachine.Variables>
      <Variable x:TypeArguments="x:Boolean" Name="JobWIP" />
      <Variable x:TypeArguments="x:Boolean" Name="FK2Check" />
    </StateMachine.Variables>
    <sap:WorkflowViewStateService.ViewState>
      <scg3:Dictionary x:TypeArguments="x:String, x:Object">
        <x:Boolean x:Key="IsExpanded">False</x:Boolean>
        <av:Point x:Key="ShapeLocation">270,2.5</av:Point>
        <x:Double x:Key="StateContainerWidth">665</x:Double>
        <x:Double x:Key="StateContainerHeight">600</x:Double>
        <av:PointCollection x:Key="ConnectorLocation">273,77.5 273,82.55 147,82.55</av:PointCollection>
      </scg3:Dictionary>
    </sap:WorkflowViewStateService.ViewState>
    <State x:Name="State1" DisplayName="Initialize" sap:VirtualizedContainerService.HintSize="114,61">
      <State.Entry>
        <Sequence sap:VirtualizedContainerService.HintSize="300,150">
          <sap:WorkflowViewStateService.ViewState>
            <scg3:Dictionary x:TypeArguments="x:String, x:Object">
              <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            </scg3:Dictionary>
          </sap:WorkflowViewStateService.ViewState>
          <wfa:InitializeAtm DisplayName="Initialize Machine" sap:VirtualizedContainerService.HintSize="200,22" Result="[MachineID]" />
        </Sequence>
      </State.Entry>
      <sap:WorkflowViewStateService.ViewState>
        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
          <av:Point x:Key="ShapeLocation">33,79.5</av:Point>
          <av:Size x:Key="ShapeSize">114,61</av:Size>
          <x:Boolean x:Key="IsPinned">False</x:Boolean>
        </scg3:Dictionary>
      </sap:WorkflowViewStateService.ViewState>
      <State.Exit>
        <wfa:ClearView sap:VirtualizedContainerService.HintSize="300,150" />
      </State.Exit>
      <State.Transitions>
        <Transition DisplayName="Quit" sap:VirtualizedContainerService.HintSize="430,498">
            <Transition.Trigger>
              <wfa:WaitForTransition DisplayName="Quit" sap:VirtualizedContainerService.HintSize="388,100" MachineTransition="PowerOff" />
            </Transition.Trigger>
            <sap:WorkflowViewStateService.ViewState>
              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                <av:PointCollection x:Key="ConnectorLocation">67.2,140.5 67.2,170.5 7.2,170.5 7.2,319.5 67.2,319.5 67.2,349.5</av:PointCollection>
              </scg3:Dictionary>
            </sap:WorkflowViewStateService.ViewState>
            <Transition.Condition>[MachineID = ""]</Transition.Condition>
          <Transition.To>
            <x:Reference>State4</x:Reference>
          </Transition.To>
        </Transition>
        <Transition DisplayName="Start Machine" sap:VirtualizedContainerService.HintSize="430,606">
          <Transition.Trigger>
            <Sequence sap:VirtualizedContainerService.HintSize="388,208">
              <sap:WorkflowViewStateService.ViewState>
                <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                  <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                  <x:Boolean x:Key="IsPinned">False</x:Boolean>
                </scg3:Dictionary>
              </sap:WorkflowViewStateService.ViewState>
            </Sequence>
          </Transition.Trigger>
          <sap:WorkflowViewStateService.ViewState>
            <scg3:Dictionary x:TypeArguments="x:String, x:Object">
              <av:PointCollection x:Key="ConnectorLocation">107.1,140.5 107.1,170.5 210,170.5 210,229.5</av:PointCollection>
            </scg3:Dictionary>
          </sap:WorkflowViewStateService.ViewState>
          <Transition.Condition>[MachineID &lt;&gt; ""]</Transition.Condition>
          <Transition.To>
            <x:Reference>State2</x:Reference>
          </Transition.To>
        </Transition>
      </State.Transitions>
      <State.Variables>
        <Variable x:TypeArguments="wfa:ResultMessage" Name="MachineResult" />
        <Variable x:TypeArguments="x:String" Name="MachineID" />
      </State.Variables>
    </State>
    <State x:Name="State2" DisplayName="Working" sap:VirtualizedContainerService.HintSize="114,61">
      <State.Entry>
                  <Sequence sap:VirtualizedContainerService.HintSize="300,177">
                    <sap:WorkflowViewStateService.ViewState>
                      <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                      </scg3:Dictionary>
                    </sap:WorkflowViewStateService.ViewState> 
                  </Sequence>
      </State.Entry>
      <sap:WorkflowViewStateService.ViewState>
        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
          <x:Boolean x:Key="IsPinned">False</x:Boolean>
          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          <av:Point x:Key="ShapeLocation">153,229.5</av:Point>
          <av:Size x:Key="ShapeSize">114,61</av:Size>
          <x:Double x:Key="StateContainerWidth">100</x:Double>
          <x:Double x:Key="StateContainerHeight">25</x:Double>
        </scg3:Dictionary>
      </sap:WorkflowViewStateService.ViewState>
      <State.Transitions>
        <Transition DisplayName="Stop Machine" sap:VirtualizedContainerService.HintSize="430,485">
          <Transition.Trigger>
            <wfa:WaitForTransition DisplayName="Wait for Power Off" sap:VirtualizedContainerService.HintSize="388,100" MachineTransition="PowerOff" />
          </Transition.Trigger>
          <sap:WorkflowViewStateService.ViewState>
            <scg3:Dictionary x:TypeArguments="x:String, x:Object">
              <av:PointCollection x:Key="ConnectorLocation">210,290.5 210,320.5 90,320.5 90,349.5</av:PointCollection>
            </scg3:Dictionary>
          </sap:WorkflowViewStateService.ViewState>
          <Transition.To>
            <x:Reference>State4</x:Reference>
          </Transition.To>
        </Transition>
        <Transition DisplayName="JobArrival" sap:VirtualizedContainerService.HintSize="430,606">
          <Transition.Trigger>
            <Sequence sap:VirtualizedContainerService.HintSize="388,208">
              <sap:WorkflowViewStateService.ViewState>
                <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                  <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                </scg3:Dictionary>
              </sap:WorkflowViewStateService.ViewState>
              <wfa:BookMarkEvent DisplayName="Wait for Job Arrival" sap:VirtualizedContainerService.HintSize="200,22" MachineEvent="NewJobArrived" Result="[NewJob]" />
              <wfa:Prompt sap:VirtualizedContainerService.HintSize="200,22" Line="1" Text="PLSMACHINE" Transition="None" />
            </Sequence>
          </Transition.Trigger>
          <sap:WorkflowViewStateService.ViewState>
            <scg3:Dictionary x:TypeArguments="x:String, x:Object">
              <av:PointCollection x:Key="ConnectorLocation">267,275.25 297,275.25 297,291.35 463,291.35</av:PointCollection>
            </scg3:Dictionary>
          </sap:WorkflowViewStateService.ViewState>
          <Transition.To>
            <x:Reference>State3</x:Reference>
          </Transition.To>
          <Transition.Action>
            <Sequence sap:VirtualizedContainerService.HintSize="347,150">
              <sap:WorkflowViewStateService.ViewState>
                <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                  <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                </scg3:Dictionary>
              </sap:WorkflowViewStateService.ViewState>
              <wfa:Buffer DisplayName="InputJobPool" sap:VirtualizedContainerService.HintSize="200,22" InOrOutput="IN" Transition="None" msg="[NewJob.Message]" />
            </Sequence>
          </Transition.Action>
        </Transition>
        <Transition DisplayName="HasNewJob" sap:VirtualizedContainerService.HintSize="430,498">
          <Transition.Trigger>
            <wfa:CheckNewJob sap:VirtualizedContainerService.HintSize="388,100" Result="[HasNewJob]" />
          </Transition.Trigger>
          <sap:WorkflowViewStateService.ViewState>
            <scg3:Dictionary x:TypeArguments="x:String, x:Object">
              <av:PointCollection x:Key="ConnectorLocation">267,260 297,260 297,245.6 463,245.6</av:PointCollection>
            </scg3:Dictionary>
          </sap:WorkflowViewStateService.ViewState>
          <Transition.To>
            <x:Reference>State3</x:Reference>
          </Transition.To>
          <Transition.Condition>[HasNewJob=True]</Transition.Condition>
        </Transition>
      </State.Transitions>
      <State.Variables>
        <Variable x:TypeArguments="wfa:ResultMessage" Name="NewJob" />
      </State.Variables>
    </State>
    <State x:Name="State4" DisplayName="Final State" sap:VirtualizedContainerService.HintSize="114,61" IsFinal="True">
      <sap:WorkflowViewStateService.ViewState>
        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
          <x:Boolean x:Key="IsPinned">False</x:Boolean>
          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          <av:Point x:Key="ShapeLocation">33,349.5</av:Point>
          <av:Size x:Key="ShapeSize">114,61</av:Size>
        </scg3:Dictionary>
      </sap:WorkflowViewStateService.ViewState>
    </State>
    <State x:Name="State3" DisplayName="Processing" sap:VirtualizedContainerService.HintSize="640,962">
      <State.Entry>
         <Sequence sap:VirtualizedContainerService.HintSize="300,276">
          <sap:WorkflowViewStateService.ViewState>
           <scg3:Dictionary x:TypeArguments="x:String, x:Object">
             <x:Boolean x:Key="IsExpanded">True</x:Boolean>
               </scg3:Dictionary>
            </sap:WorkflowViewStateService.ViewState>
            <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="Processing" Transition="None" />
        <StateMachine DisplayName="WorkInProduction" sap:VirtualizedContainerService.HintSize="614,636">
          <StateMachine.InitialState>
            <x:Reference>State31</x:Reference>
          </StateMachine.InitialState>
          <sap:WorkflowViewStateService.ViewState>
            <scg3:Dictionary x:TypeArguments="x:String, x:Object">
              <x:Boolean x:Key="IsExpanded">True</x:Boolean>
              <av:Point x:Key="ShapeLocation">270,2.5</av:Point>
              <x:Double x:Key="StateContainerWidth">600</x:Double>
              <x:Double x:Key="StateContainerHeight">600</x:Double>
              <av:PointCollection x:Key="ConnectorLocation">273,77.5 273,82.55 197,82.55</av:PointCollection>
              <x:Boolean x:Key="IsPinned">False</x:Boolean>
            </scg3:Dictionary>
          </sap:WorkflowViewStateService.ViewState>
          <State x:Name="State31" DisplayName="GetJob" sap:VirtualizedContainerService.HintSize="114,61">
            <State.Entry>
               <Sequence sap:VirtualizedContainerService.HintSize="300,245">
                 <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                     </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
     
                 <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="GetJob" Transition="None" />
                 <wfa:ChooseJob sap:VirtualizedContainerService.HintSize="300,150" Result="[Job]" />
                 <wfa:ValidateJob sap:VirtualizedContainerService.HintSize="200,22" Result="[JobWIP]" VJob="[Job]" />
                </Sequence>
            </State.Entry>
            <sap:WorkflowViewStateService.ViewState>
              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                <av:Point x:Key="ShapeLocation">83,79.5</av:Point>
                <av:Size x:Key="ShapeSize">114,61</av:Size>
                <x:Boolean x:Key="IsPinned">False</x:Boolean>
                <x:Double x:Key="StateContainerWidth">100</x:Double>
                <x:Double x:Key="StateContainerHeight">25.326666666666654</x:Double>
              </scg3:Dictionary>
            </sap:WorkflowViewStateService.ViewState>
            <State.Transitions>
              <Transition DisplayName="Job Valid" sap:VirtualizedContainerService.HintSize="430,498">
                <sap:WorkflowViewStateService.ViewState>
                  <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                    <av:PointCollection x:Key="ConnectorLocation">145.7,140.5 145.7,170.5 295.7,170.5 295.7,199.5</av:PointCollection>
                  </scg3:Dictionary>
                </sap:WorkflowViewStateService.ViewState>
                <Transition.To>
                  <x:Reference>State32</x:Reference>
                </Transition.To>
                        <Transition.Action>
                           <Sequence sap:VirtualizedContainerService.HintSize="347,245">
                                <sap:WorkflowViewStateService.ViewState>
                                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                       <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                        </scg3:Dictionary>
                                     </sap:WorkflowViewStateService.ViewState>
                                      <Assign sap:VirtualizedContainerService.HintSize="243,59">
                                       <Assign.To>
                                       <OutArgument x:TypeArguments="x:String">[Job.STATUS]</OutArgument>
                                        </Assign.To>
                                       <Assign.Value>
                                      <InArgument x:TypeArguments="x:String">[Job.STATUS + "OnLoadingForeignKeyTable;"]</InArgument>
                                   </Assign.Value>
                                 </Assign>
                               <wfa:LoadForeignKeyTable sap:VirtualizedContainerService.HintSize="243,22" VJob="[Job]" />
                           </Sequence>
                        </Transition.Action>
                <Transition.Condition>[JobWIP = True]</Transition.Condition>
              </Transition>
            <Transition DisplayName="JovInvalid" sap:VirtualizedContainerService.HintSize="430,498">
                                      <sap:WorkflowViewStateService.ViewState>
                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                          <av:PointCollection x:Key="ConnectorLocation">117.2,140.5 117.2,329.5 307.2,329.5 307.2,359.5</av:PointCollection>
                                        </scg3:Dictionary>
                                      </sap:WorkflowViewStateService.ViewState>
                                      <Transition.To>
                                        <x:Reference>State33</x:Reference>
                                      </Transition.To>
                                      <Transition.Condition>[JobWIP = False]</Transition.Condition>
                                    </Transition>
            </State.Transitions>
          </State>
          <State x:Name="State33" DisplayName="Final State" sap:VirtualizedContainerService.HintSize="114,61" IsFinal="True">
            <sap:WorkflowViewStateService.ViewState>
              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                <av:Point x:Key="ShapeLocation">273,359.5</av:Point>
                <av:Size x:Key="ShapeSize">114,61</av:Size>
                <x:Boolean x:Key="IsPinned">False</x:Boolean>
              </scg3:Dictionary>
            </sap:WorkflowViewStateService.ViewState>
          </State>
          <State x:Name="State32" DisplayName="ProcessingWIP" sap:VirtualizedContainerService.HintSize="864,1012">
            <State.Entry>
            <Sequence sap:VirtualizedContainerService.HintSize="300,275">
            <sap:WorkflowViewStateService.ViewState>
            <scg3:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            </scg3:Dictionary>
            </sap:WorkflowViewStateService.ViewState>
            <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="ProcessingWIP" Transition="None" />                                            
            <If Condition="[Job.IsCheckDataQuality = True]" sap:VirtualizedContainerService.HintSize="464,211">
                <If.Then>
              <StateMachine sap:VirtualizedContainerService.HintSize="838,686">
                <StateMachine.InitialState>
                  <x:Reference>State321</x:Reference>
                </StateMachine.InitialState>
                <sap:WorkflowViewStateService.ViewState>
                  <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                    <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                    <av:Point x:Key="ShapeLocation">270,2.5</av:Point>
                    <x:Double x:Key="StateContainerWidth">824</x:Double>
                    <x:Double x:Key="StateContainerHeight">650.5</x:Double>
                    <av:PointCollection x:Key="ConnectorLocation">273,77.5 273,112.55 258,112.55</av:PointCollection>
                    <x:Boolean x:Key="IsPinned">False</x:Boolean>
                  </scg3:Dictionary>
                </sap:WorkflowViewStateService.ViewState>
                
    
                <State x:Name="State321" DisplayName="CheckFK109_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="256,61">
                  <State.Entry>
                 <Sequence sap:VirtualizedContainerService.HintSize="300,245">
                 <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                     </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="CheckFK109_ApplicationManagement_MainKey" Transition="None" />                                            
                    <StateMachine DisplayName="CheckFK109_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="614,636">
                      <StateMachine.InitialState>
                        <x:Reference>State3211</x:Reference>
                      </StateMachine.InitialState>
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                          <x:Boolean x:Key="IsPinned">False</x:Boolean>
                         <av:Point x:Key="ShapeLocation">43,99.5</av:Point> 
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>                        
                      <State x:Name="State3211" DisplayName="GoCheck" sap:VirtualizedContainerService.HintSize="114,61">
                               <State.Entry>
                                 <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                     <sap:WorkflowViewStateService.ViewState>
                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                           <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                           </scg3:Dictionary>
                                            </sap:WorkflowViewStateService.ViewState>
                                            <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="GoCheck" Transition="None" />                                                                                        
                                            <wfa:ValidateForeignKey FroeignKey="FK109_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="200,22" Result="[FK2Check]" VJob="[Job]" />
                                           </Sequence>
                                        </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">43,99.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">157,139.15 187,139.15 187,143.05 319.5,143.05</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.Condition>[FK2Check = True]</Transition.Condition>
                            <Transition.To>
                              <x:Reference>State3212</x:Reference>
                            </Transition.To>
                          </Transition>
                          <Transition DisplayName="No Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">94.3,160.5 94.3,190.5 244.3,190.5 244.3,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3213</x:Reference>
                            </Transition.To>
                            <Transition.Action>
                              <wfa:Prompt sap:VirtualizedContainerService.HintSize="347,150" Line="3" Text="Checking Finished" Transition="None" />
                            </Transition.Action>
                            <Transition.Condition>[FK2Check = False]</Transition.Condition>
                          </Transition>
                        </State.Transitions>
                      </State>
                      <State x:Name="State3213" DisplayName="Exit" sap:VirtualizedContainerService.HintSize="114,61" IsFinal="True">
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">193,339.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                      </State>
                      <State x:Name="State3212" DisplayName="WaitForCheckingResult" sap:VirtualizedContainerService.HintSize="221,61">
                                                                    <State.Entry>
                                                                    <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                                                      <sap:WorkflowViewStateService.ViewState>
                                                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                                                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                                                        </scg3:Dictionary>
                                                                      </sap:WorkflowViewStateService.ViewState>
                                                                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="WaitForCheckingResult" Transition="None" />                                                                                        
                                                                    </Sequence>
                                                                  </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">319.5,109.5</av:Point>
                            <av:Size x:Key="ShapeSize">221,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                            <x:Double x:Key="StateContainerWidth">207</x:Double>
                            <x:Double x:Key="StateContainerHeight">25</x:Double>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Pass/Fail" sap:VirtualizedContainerService.HintSize="430,606">
                            <Transition.Trigger>
                              <Sequence sap:VirtualizedContainerService.HintSize="388,208">
                                <sap:WorkflowViewStateService.ViewState>
                                  <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                    <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                    <x:Boolean x:Key="IsPinned">False</x:Boolean>
                                  </scg3:Dictionary>
                                </sap:WorkflowViewStateService.ViewState>
                                <wfa:BookMarkSendMessage Tag="{x:Null}" DisplayName="WaitForCheckResult" sap:VirtualizedContainerService.HintSize="200,22" JobContent="CheckFK109_ApplicationManagement_MainKey" JobID="OnAwaitChecking" MachineEvent="QualityCheck" MessageType="WF2UI" Result="[CheckResult]" UpdateFedTime="YES" />
                              </Sequence>
                            </Transition.Trigger>
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">418.95,170.5 418.95,200.5 272.8,200.5 272.8,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3213</x:Reference>
                            </Transition.To>
                          </Transition>
                        </State.Transitions>
                      </State>
                    </StateMachine>
                    </Sequence>
                  </State.Entry>
                  <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <av:Point x:Key="ShapeLocation">0,90</av:Point>
                      <av:Size x:Key="ShapeSize">100,50</av:Size>
                      <x:Boolean x:Key="IsPinned">False</x:Boolean>
                      <x:Double x:Key="StateContainerWidth">200</x:Double>
                      <x:Double x:Key="StateContainerHeight">20</x:Double>
                      <x:Boolean x:Key="IsExpanded">True</x:Boolean> 
                    </scg3:Dictionary>
                  </sap:WorkflowViewStateService.ViewState>
                  <State.Transitions>
                    <Transition DisplayName="Next" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">100,115 288,143.05 288,263.05 301,263.05</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.Condition>[CheckResult.Data=True]</Transition.Condition>
                      <Transition.To>
                        <x:Reference>State322</x:Reference>
                      </Transition.To>
                    </Transition>
                    <Transition DisplayName="Exit" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">100,115 117.2,499.5 370.1,499.5 370.1,529.5</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.To>
                        <x:Reference>State320</x:Reference>
                      </Transition.To>
                      <Transition.Condition>[CheckResult.Data=False]</Transition.Condition>
                    </Transition>
                  </State.Transitions>
                </State>
    
                <State x:Name="State322" DisplayName="CheckFK199_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="256,61">
                  <State.Entry>
                 <Sequence sap:VirtualizedContainerService.HintSize="300,245">
                 <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                     </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="CheckFK199_ApplicationManagement_MainKey" Transition="None" />                                            
                    <StateMachine DisplayName="CheckFK199_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="614,636">
                      <StateMachine.InitialState>
                        <x:Reference>State3221</x:Reference>
                      </StateMachine.InitialState>
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                          <x:Boolean x:Key="IsPinned">False</x:Boolean>
                         <av:Point x:Key="ShapeLocation">43,99.5</av:Point> 
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>                        
                      <State x:Name="State3221" DisplayName="GoCheck" sap:VirtualizedContainerService.HintSize="114,61">
                               <State.Entry>
                                 <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                     <sap:WorkflowViewStateService.ViewState>
                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                           <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                           </scg3:Dictionary>
                                            </sap:WorkflowViewStateService.ViewState>
                                            <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="GoCheck" Transition="None" />                                                                                        
                                            <wfa:ValidateForeignKey FroeignKey="FK199_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="200,22" Result="[FK2Check]" VJob="[Job]" />
                                           </Sequence>
                                        </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">43,99.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">157,139.15 187,139.15 187,143.05 319.5,143.05</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.Condition>[FK2Check = True]</Transition.Condition>
                            <Transition.To>
                              <x:Reference>State3222</x:Reference>
                            </Transition.To>
                          </Transition>
                          <Transition DisplayName="No Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">94.3,160.5 94.3,190.5 244.3,190.5 244.3,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3223</x:Reference>
                            </Transition.To>
                            <Transition.Action>
                              <wfa:Prompt sap:VirtualizedContainerService.HintSize="347,150" Line="3" Text="Checking Finished" Transition="None" />
                            </Transition.Action>
                            <Transition.Condition>[FK2Check = False]</Transition.Condition>
                          </Transition>
                        </State.Transitions>
                      </State>
                      <State x:Name="State3223" DisplayName="Exit" sap:VirtualizedContainerService.HintSize="114,61" IsFinal="True">
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">193,339.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                      </State>
                      <State x:Name="State3222" DisplayName="WaitForCheckingResult" sap:VirtualizedContainerService.HintSize="221,61">
                                                                    <State.Entry>
                                                                    <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                                                      <sap:WorkflowViewStateService.ViewState>
                                                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                                                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                                                        </scg3:Dictionary>
                                                                      </sap:WorkflowViewStateService.ViewState>
                                                                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="WaitForCheckingResult" Transition="None" />                                                                                        
                                                                    </Sequence>
                                                                  </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">319.5,109.5</av:Point>
                            <av:Size x:Key="ShapeSize">221,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                            <x:Double x:Key="StateContainerWidth">207</x:Double>
                            <x:Double x:Key="StateContainerHeight">25</x:Double>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Pass/Fail" sap:VirtualizedContainerService.HintSize="430,606">
                            <Transition.Trigger>
                              <Sequence sap:VirtualizedContainerService.HintSize="388,208">
                                <sap:WorkflowViewStateService.ViewState>
                                  <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                    <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                    <x:Boolean x:Key="IsPinned">False</x:Boolean>
                                  </scg3:Dictionary>
                                </sap:WorkflowViewStateService.ViewState>
                                <wfa:BookMarkSendMessage Tag="{x:Null}" DisplayName="WaitForCheckResult" sap:VirtualizedContainerService.HintSize="200,22" JobContent="CheckFK199_ApplicationManagement_MainKey" JobID="OnAwaitChecking" MachineEvent="QualityCheck" MessageType="WF2UI" Result="[CheckResult]" UpdateFedTime="YES" />
                              </Sequence>
                            </Transition.Trigger>
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">418.95,170.5 418.95,200.5 272.8,200.5 272.8,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3223</x:Reference>
                            </Transition.To>
                          </Transition>
                        </State.Transitions>
                      </State>
                    </StateMachine>
                    </Sequence>
                  </State.Entry>
                  <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <av:Point x:Key="ShapeLocation">120,190</av:Point>
                      <av:Size x:Key="ShapeSize">100,50</av:Size>
                      <x:Boolean x:Key="IsPinned">False</x:Boolean>
                      <x:Double x:Key="StateContainerWidth">200</x:Double>
                      <x:Double x:Key="StateContainerHeight">20</x:Double>
                      <x:Boolean x:Key="IsExpanded">True</x:Boolean> 
                    </scg3:Dictionary>
                  </sap:WorkflowViewStateService.ViewState>
                  <State.Transitions>
                    <Transition DisplayName="Next" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">220,215 288,143.05 288,263.05 301,263.05</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.Condition>[CheckResult.Data=True]</Transition.Condition>
                      <Transition.To>
                        <x:Reference>State323</x:Reference>
                      </Transition.To>
                    </Transition>
                    <Transition DisplayName="Exit" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">220,215 117.2,499.5 370.1,499.5 370.1,529.5</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.To>
                        <x:Reference>State320</x:Reference>
                      </Transition.To>
                      <Transition.Condition>[CheckResult.Data=False]</Transition.Condition>
                    </Transition>
                  </State.Transitions>
                </State>
    
                <State x:Name="State323" DisplayName="CheckFK299_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="256,61">
                  <State.Entry>
                 <Sequence sap:VirtualizedContainerService.HintSize="300,245">
                 <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                     </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="CheckFK299_ApplicationManagement_MainKey" Transition="None" />                                            
                    <StateMachine DisplayName="CheckFK299_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="614,636">
                      <StateMachine.InitialState>
                        <x:Reference>State3231</x:Reference>
                      </StateMachine.InitialState>
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                          <x:Boolean x:Key="IsPinned">False</x:Boolean>
                         <av:Point x:Key="ShapeLocation">43,99.5</av:Point> 
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>                        
                      <State x:Name="State3231" DisplayName="GoCheck" sap:VirtualizedContainerService.HintSize="114,61">
                               <State.Entry>
                                 <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                     <sap:WorkflowViewStateService.ViewState>
                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                           <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                           </scg3:Dictionary>
                                            </sap:WorkflowViewStateService.ViewState>
                                            <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="GoCheck" Transition="None" />                                                                                        
                                            <wfa:ValidateForeignKey FroeignKey="FK299_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="200,22" Result="[FK2Check]" VJob="[Job]" />
                                           </Sequence>
                                        </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">43,99.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">157,139.15 187,139.15 187,143.05 319.5,143.05</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.Condition>[FK2Check = True]</Transition.Condition>
                            <Transition.To>
                              <x:Reference>State3232</x:Reference>
                            </Transition.To>
                          </Transition>
                          <Transition DisplayName="No Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">94.3,160.5 94.3,190.5 244.3,190.5 244.3,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3233</x:Reference>
                            </Transition.To>
                            <Transition.Action>
                              <wfa:Prompt sap:VirtualizedContainerService.HintSize="347,150" Line="3" Text="Checking Finished" Transition="None" />
                            </Transition.Action>
                            <Transition.Condition>[FK2Check = False]</Transition.Condition>
                          </Transition>
                        </State.Transitions>
                      </State>
                      <State x:Name="State3233" DisplayName="Exit" sap:VirtualizedContainerService.HintSize="114,61" IsFinal="True">
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">193,339.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                      </State>
                      <State x:Name="State3232" DisplayName="WaitForCheckingResult" sap:VirtualizedContainerService.HintSize="221,61">
                                                                    <State.Entry>
                                                                    <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                                                      <sap:WorkflowViewStateService.ViewState>
                                                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                                                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                                                        </scg3:Dictionary>
                                                                      </sap:WorkflowViewStateService.ViewState>
                                                                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="WaitForCheckingResult" Transition="None" />                                                                                        
                                                                    </Sequence>
                                                                  </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">319.5,109.5</av:Point>
                            <av:Size x:Key="ShapeSize">221,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                            <x:Double x:Key="StateContainerWidth">207</x:Double>
                            <x:Double x:Key="StateContainerHeight">25</x:Double>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Pass/Fail" sap:VirtualizedContainerService.HintSize="430,606">
                            <Transition.Trigger>
                              <Sequence sap:VirtualizedContainerService.HintSize="388,208">
                                <sap:WorkflowViewStateService.ViewState>
                                  <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                    <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                    <x:Boolean x:Key="IsPinned">False</x:Boolean>
                                  </scg3:Dictionary>
                                </sap:WorkflowViewStateService.ViewState>
                                <wfa:BookMarkSendMessage Tag="{x:Null}" DisplayName="WaitForCheckResult" sap:VirtualizedContainerService.HintSize="200,22" JobContent="CheckFK299_ApplicationManagement_MainKey" JobID="OnAwaitChecking" MachineEvent="QualityCheck" MessageType="WF2UI" Result="[CheckResult]" UpdateFedTime="YES" />
                              </Sequence>
                            </Transition.Trigger>
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">418.95,170.5 418.95,200.5 272.8,200.5 272.8,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3233</x:Reference>
                            </Transition.To>
                          </Transition>
                        </State.Transitions>
                      </State>
                    </StateMachine>
                    </Sequence>
                  </State.Entry>
                  <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <av:Point x:Key="ShapeLocation">240,290</av:Point>
                      <av:Size x:Key="ShapeSize">100,50</av:Size>
                      <x:Boolean x:Key="IsPinned">False</x:Boolean>
                      <x:Double x:Key="StateContainerWidth">200</x:Double>
                      <x:Double x:Key="StateContainerHeight">20</x:Double>
                      <x:Boolean x:Key="IsExpanded">True</x:Boolean> 
                    </scg3:Dictionary>
                  </sap:WorkflowViewStateService.ViewState>
                  <State.Transitions>
                    <Transition DisplayName="Next" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">340,315 288,143.05 288,263.05 301,263.05</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.Condition>[CheckResult.Data=True]</Transition.Condition>
                      <Transition.To>
                        <x:Reference>State324</x:Reference>
                      </Transition.To>
                    </Transition>
                    <Transition DisplayName="Exit" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">340,315 117.2,499.5 370.1,499.5 370.1,529.5</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.To>
                        <x:Reference>State320</x:Reference>
                      </Transition.To>
                      <Transition.Condition>[CheckResult.Data=False]</Transition.Condition>
                    </Transition>
                  </State.Transitions>
                </State>
    
                <State x:Name="State324" DisplayName="CheckFK399_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="256,61">
                  <State.Entry>
                 <Sequence sap:VirtualizedContainerService.HintSize="300,245">
                 <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                     </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="CheckFK399_ApplicationManagement_MainKey" Transition="None" />                                            
                    <StateMachine DisplayName="CheckFK399_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="614,636">
                      <StateMachine.InitialState>
                        <x:Reference>State3241</x:Reference>
                      </StateMachine.InitialState>
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                          <x:Boolean x:Key="IsPinned">False</x:Boolean>
                         <av:Point x:Key="ShapeLocation">43,99.5</av:Point> 
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>                        
                      <State x:Name="State3241" DisplayName="GoCheck" sap:VirtualizedContainerService.HintSize="114,61">
                               <State.Entry>
                                 <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                     <sap:WorkflowViewStateService.ViewState>
                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                           <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                           </scg3:Dictionary>
                                            </sap:WorkflowViewStateService.ViewState>
                                            <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="GoCheck" Transition="None" />                                                                                        
                                            <wfa:ValidateForeignKey FroeignKey="FK399_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="200,22" Result="[FK2Check]" VJob="[Job]" />
                                           </Sequence>
                                        </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">43,99.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">157,139.15 187,139.15 187,143.05 319.5,143.05</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.Condition>[FK2Check = True]</Transition.Condition>
                            <Transition.To>
                              <x:Reference>State3242</x:Reference>
                            </Transition.To>
                          </Transition>
                          <Transition DisplayName="No Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">94.3,160.5 94.3,190.5 244.3,190.5 244.3,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3243</x:Reference>
                            </Transition.To>
                            <Transition.Action>
                              <wfa:Prompt sap:VirtualizedContainerService.HintSize="347,150" Line="3" Text="Checking Finished" Transition="None" />
                            </Transition.Action>
                            <Transition.Condition>[FK2Check = False]</Transition.Condition>
                          </Transition>
                        </State.Transitions>
                      </State>
                      <State x:Name="State3243" DisplayName="Exit" sap:VirtualizedContainerService.HintSize="114,61" IsFinal="True">
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">193,339.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                      </State>
                      <State x:Name="State3242" DisplayName="WaitForCheckingResult" sap:VirtualizedContainerService.HintSize="221,61">
                                                                    <State.Entry>
                                                                    <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                                                      <sap:WorkflowViewStateService.ViewState>
                                                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                                                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                                                        </scg3:Dictionary>
                                                                      </sap:WorkflowViewStateService.ViewState>
                                                                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="WaitForCheckingResult" Transition="None" />                                                                                        
                                                                    </Sequence>
                                                                  </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">319.5,109.5</av:Point>
                            <av:Size x:Key="ShapeSize">221,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                            <x:Double x:Key="StateContainerWidth">207</x:Double>
                            <x:Double x:Key="StateContainerHeight">25</x:Double>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Pass/Fail" sap:VirtualizedContainerService.HintSize="430,606">
                            <Transition.Trigger>
                              <Sequence sap:VirtualizedContainerService.HintSize="388,208">
                                <sap:WorkflowViewStateService.ViewState>
                                  <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                    <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                    <x:Boolean x:Key="IsPinned">False</x:Boolean>
                                  </scg3:Dictionary>
                                </sap:WorkflowViewStateService.ViewState>
                                <wfa:BookMarkSendMessage Tag="{x:Null}" DisplayName="WaitForCheckResult" sap:VirtualizedContainerService.HintSize="200,22" JobContent="CheckFK399_ApplicationManagement_MainKey" JobID="OnAwaitChecking" MachineEvent="QualityCheck" MessageType="WF2UI" Result="[CheckResult]" UpdateFedTime="YES" />
                              </Sequence>
                            </Transition.Trigger>
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">418.95,170.5 418.95,200.5 272.8,200.5 272.8,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3243</x:Reference>
                            </Transition.To>
                          </Transition>
                        </State.Transitions>
                      </State>
                    </StateMachine>
                    </Sequence>
                  </State.Entry>
                  <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <av:Point x:Key="ShapeLocation">360,390</av:Point>
                      <av:Size x:Key="ShapeSize">100,50</av:Size>
                      <x:Boolean x:Key="IsPinned">False</x:Boolean>
                      <x:Double x:Key="StateContainerWidth">200</x:Double>
                      <x:Double x:Key="StateContainerHeight">20</x:Double>
                      <x:Boolean x:Key="IsExpanded">True</x:Boolean> 
                    </scg3:Dictionary>
                  </sap:WorkflowViewStateService.ViewState>
                  <State.Transitions>
                    <Transition DisplayName="Next" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">460,415 288,143.05 288,263.05 301,263.05</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.Condition>[CheckResult.Data=True]</Transition.Condition>
                      <Transition.To>
                        <x:Reference>State325</x:Reference>
                      </Transition.To>
                    </Transition>
                    <Transition DisplayName="Exit" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">460,415 117.2,499.5 370.1,499.5 370.1,529.5</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.To>
                        <x:Reference>State320</x:Reference>
                      </Transition.To>
                      <Transition.Condition>[CheckResult.Data=False]</Transition.Condition>
                    </Transition>
                  </State.Transitions>
                </State>
    
                <State x:Name="State325" DisplayName="CheckFK499_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="256,61">
                  <State.Entry>
                 <Sequence sap:VirtualizedContainerService.HintSize="300,245">
                 <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                     </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="CheckFK499_ApplicationManagement_MainKey" Transition="None" />                                            
                    <StateMachine DisplayName="CheckFK499_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="614,636">
                      <StateMachine.InitialState>
                        <x:Reference>State3251</x:Reference>
                      </StateMachine.InitialState>
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                          <x:Boolean x:Key="IsPinned">False</x:Boolean>
                         <av:Point x:Key="ShapeLocation">43,99.5</av:Point> 
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>                        
                      <State x:Name="State3251" DisplayName="GoCheck" sap:VirtualizedContainerService.HintSize="114,61">
                               <State.Entry>
                                 <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                     <sap:WorkflowViewStateService.ViewState>
                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                           <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                           </scg3:Dictionary>
                                            </sap:WorkflowViewStateService.ViewState>
                                            <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="GoCheck" Transition="None" />                                                                                        
                                            <wfa:ValidateForeignKey FroeignKey="FK499_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="200,22" Result="[FK2Check]" VJob="[Job]" />
                                           </Sequence>
                                        </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">43,99.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">157,139.15 187,139.15 187,143.05 319.5,143.05</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.Condition>[FK2Check = True]</Transition.Condition>
                            <Transition.To>
                              <x:Reference>State3252</x:Reference>
                            </Transition.To>
                          </Transition>
                          <Transition DisplayName="No Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">94.3,160.5 94.3,190.5 244.3,190.5 244.3,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3253</x:Reference>
                            </Transition.To>
                            <Transition.Action>
                              <wfa:Prompt sap:VirtualizedContainerService.HintSize="347,150" Line="3" Text="Checking Finished" Transition="None" />
                            </Transition.Action>
                            <Transition.Condition>[FK2Check = False]</Transition.Condition>
                          </Transition>
                        </State.Transitions>
                      </State>
                      <State x:Name="State3253" DisplayName="Exit" sap:VirtualizedContainerService.HintSize="114,61" IsFinal="True">
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">193,339.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                      </State>
                      <State x:Name="State3252" DisplayName="WaitForCheckingResult" sap:VirtualizedContainerService.HintSize="221,61">
                                                                    <State.Entry>
                                                                    <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                                                      <sap:WorkflowViewStateService.ViewState>
                                                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                                                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                                                        </scg3:Dictionary>
                                                                      </sap:WorkflowViewStateService.ViewState>
                                                                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="WaitForCheckingResult" Transition="None" />                                                                                        
                                                                    </Sequence>
                                                                  </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">319.5,109.5</av:Point>
                            <av:Size x:Key="ShapeSize">221,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                            <x:Double x:Key="StateContainerWidth">207</x:Double>
                            <x:Double x:Key="StateContainerHeight">25</x:Double>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Pass/Fail" sap:VirtualizedContainerService.HintSize="430,606">
                            <Transition.Trigger>
                              <Sequence sap:VirtualizedContainerService.HintSize="388,208">
                                <sap:WorkflowViewStateService.ViewState>
                                  <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                    <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                    <x:Boolean x:Key="IsPinned">False</x:Boolean>
                                  </scg3:Dictionary>
                                </sap:WorkflowViewStateService.ViewState>
                                <wfa:BookMarkSendMessage Tag="{x:Null}" DisplayName="WaitForCheckResult" sap:VirtualizedContainerService.HintSize="200,22" JobContent="CheckFK499_ApplicationManagement_MainKey" JobID="OnAwaitChecking" MachineEvent="QualityCheck" MessageType="WF2UI" Result="[CheckResult]" UpdateFedTime="YES" />
                              </Sequence>
                            </Transition.Trigger>
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">418.95,170.5 418.95,200.5 272.8,200.5 272.8,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3253</x:Reference>
                            </Transition.To>
                          </Transition>
                        </State.Transitions>
                      </State>
                    </StateMachine>
                    </Sequence>
                  </State.Entry>
                  <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <av:Point x:Key="ShapeLocation">480,490</av:Point>
                      <av:Size x:Key="ShapeSize">100,50</av:Size>
                      <x:Boolean x:Key="IsPinned">False</x:Boolean>
                      <x:Double x:Key="StateContainerWidth">200</x:Double>
                      <x:Double x:Key="StateContainerHeight">20</x:Double>
                      <x:Boolean x:Key="IsExpanded">True</x:Boolean> 
                    </scg3:Dictionary>
                  </sap:WorkflowViewStateService.ViewState>
                  <State.Transitions>
                    <Transition DisplayName="Next" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">580,515 288,143.05 288,263.05 301,263.05</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.Condition>[CheckResult.Data=True]</Transition.Condition>
                      <Transition.To>
                        <x:Reference>State326</x:Reference>
                      </Transition.To>
                    </Transition>
                    <Transition DisplayName="Exit" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">580,515 117.2,499.5 370.1,499.5 370.1,529.5</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.To>
                        <x:Reference>State320</x:Reference>
                      </Transition.To>
                      <Transition.Condition>[CheckResult.Data=False]</Transition.Condition>
                    </Transition>
                  </State.Transitions>
                </State>
    
                <State x:Name="State326" DisplayName="CheckFK910_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="256,61">
                  <State.Entry>
                 <Sequence sap:VirtualizedContainerService.HintSize="300,245">
                 <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                     </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="CheckFK910_ApplicationManagement_MainKey" Transition="None" />                                            
                    <StateMachine DisplayName="CheckFK910_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="614,636">
                      <StateMachine.InitialState>
                        <x:Reference>State3261</x:Reference>
                      </StateMachine.InitialState>
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                          <x:Boolean x:Key="IsPinned">False</x:Boolean>
                         <av:Point x:Key="ShapeLocation">43,99.5</av:Point> 
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>                        
                      <State x:Name="State3261" DisplayName="GoCheck" sap:VirtualizedContainerService.HintSize="114,61">
                               <State.Entry>
                                 <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                     <sap:WorkflowViewStateService.ViewState>
                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                           <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                           </scg3:Dictionary>
                                            </sap:WorkflowViewStateService.ViewState>
                                            <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="GoCheck" Transition="None" />                                                                                        
                                            <wfa:ValidateForeignKey FroeignKey="FK910_ApplicationManagement_MainKey" sap:VirtualizedContainerService.HintSize="200,22" Result="[FK2Check]" VJob="[Job]" />
                                           </Sequence>
                                        </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">43,99.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">157,139.15 187,139.15 187,143.05 319.5,143.05</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.Condition>[FK2Check = True]</Transition.Condition>
                            <Transition.To>
                              <x:Reference>State3262</x:Reference>
                            </Transition.To>
                          </Transition>
                          <Transition DisplayName="No Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">94.3,160.5 94.3,190.5 244.3,190.5 244.3,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3263</x:Reference>
                            </Transition.To>
                            <Transition.Action>
                              <wfa:Prompt sap:VirtualizedContainerService.HintSize="347,150" Line="3" Text="Checking Finished" Transition="None" />
                            </Transition.Action>
                            <Transition.Condition>[FK2Check = False]</Transition.Condition>
                          </Transition>
                        </State.Transitions>
                      </State>
                      <State x:Name="State3263" DisplayName="Exit" sap:VirtualizedContainerService.HintSize="114,61" IsFinal="True">
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">193,339.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                      </State>
                      <State x:Name="State3262" DisplayName="WaitForCheckingResult" sap:VirtualizedContainerService.HintSize="221,61">
                                                                    <State.Entry>
                                                                    <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                                                      <sap:WorkflowViewStateService.ViewState>
                                                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                                                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                                                        </scg3:Dictionary>
                                                                      </sap:WorkflowViewStateService.ViewState>
                                                                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="WaitForCheckingResult" Transition="None" />                                                                                        
                                                                    </Sequence>
                                                                  </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">319.5,109.5</av:Point>
                            <av:Size x:Key="ShapeSize">221,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                            <x:Double x:Key="StateContainerWidth">207</x:Double>
                            <x:Double x:Key="StateContainerHeight">25</x:Double>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Pass/Fail" sap:VirtualizedContainerService.HintSize="430,606">
                            <Transition.Trigger>
                              <Sequence sap:VirtualizedContainerService.HintSize="388,208">
                                <sap:WorkflowViewStateService.ViewState>
                                  <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                    <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                    <x:Boolean x:Key="IsPinned">False</x:Boolean>
                                  </scg3:Dictionary>
                                </sap:WorkflowViewStateService.ViewState>
                                <wfa:BookMarkSendMessage Tag="{x:Null}" DisplayName="WaitForCheckResult" sap:VirtualizedContainerService.HintSize="200,22" JobContent="CheckFK910_ApplicationManagement_MainKey" JobID="OnAwaitChecking" MachineEvent="QualityCheck" MessageType="WF2UI" Result="[CheckResult]" UpdateFedTime="YES" />
                              </Sequence>
                            </Transition.Trigger>
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">418.95,170.5 418.95,200.5 272.8,200.5 272.8,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3263</x:Reference>
                            </Transition.To>
                          </Transition>
                        </State.Transitions>
                      </State>
                    </StateMachine>
                    </Sequence>
                  </State.Entry>
                  <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <av:Point x:Key="ShapeLocation">600,590</av:Point>
                      <av:Size x:Key="ShapeSize">100,50</av:Size>
                      <x:Boolean x:Key="IsPinned">False</x:Boolean>
                      <x:Double x:Key="StateContainerWidth">200</x:Double>
                      <x:Double x:Key="StateContainerHeight">20</x:Double>
                      <x:Boolean x:Key="IsExpanded">True</x:Boolean> 
                    </scg3:Dictionary>
                  </sap:WorkflowViewStateService.ViewState>
                  <State.Transitions>
                    <Transition DisplayName="Next" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">700,615 288,143.05 288,263.05 301,263.05</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.Condition>[CheckResult.Data=True]</Transition.Condition>
                      <Transition.To>
                        <x:Reference>State327</x:Reference>
                      </Transition.To>
                    </Transition>
                    <Transition DisplayName="Exit" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">700,615 117.2,499.5 370.1,499.5 370.1,529.5</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.To>
                        <x:Reference>State320</x:Reference>
                      </Transition.To>
                      <Transition.Condition>[CheckResult.Data=False]</Transition.Condition>
                    </Transition>
                  </State.Transitions>
                </State>
    
                <State x:Name="State327" DisplayName="CheckFK999_ApplicationManagement_General" sap:VirtualizedContainerService.HintSize="256,61">
                  <State.Entry>
                 <Sequence sap:VirtualizedContainerService.HintSize="300,245">
                 <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                     </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="CheckFK999_ApplicationManagement_General" Transition="None" />                                            
                    <StateMachine DisplayName="CheckFK999_ApplicationManagement_General" sap:VirtualizedContainerService.HintSize="614,636">
                      <StateMachine.InitialState>
                        <x:Reference>State3271</x:Reference>
                      </StateMachine.InitialState>
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                          <x:Boolean x:Key="IsPinned">False</x:Boolean>
                         <av:Point x:Key="ShapeLocation">43,99.5</av:Point> 
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>                        
                      <State x:Name="State3271" DisplayName="GoCheck" sap:VirtualizedContainerService.HintSize="114,61">
                               <State.Entry>
                                 <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                     <sap:WorkflowViewStateService.ViewState>
                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                           <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                           </scg3:Dictionary>
                                            </sap:WorkflowViewStateService.ViewState>
                                            <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="GoCheck" Transition="None" />                                                                                        
                                            <wfa:ValidateForeignKey FroeignKey="FK999_ApplicationManagement_General" sap:VirtualizedContainerService.HintSize="200,22" Result="[FK2Check]" VJob="[Job]" />
                                           </Sequence>
                                        </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">43,99.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">157,139.15 187,139.15 187,143.05 319.5,143.05</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.Condition>[FK2Check = True]</Transition.Condition>
                            <Transition.To>
                              <x:Reference>State3272</x:Reference>
                            </Transition.To>
                          </Transition>
                          <Transition DisplayName="No Check" sap:VirtualizedContainerService.HintSize="430,498">
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">94.3,160.5 94.3,190.5 244.3,190.5 244.3,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3273</x:Reference>
                            </Transition.To>
                            <Transition.Action>
                              <wfa:Prompt sap:VirtualizedContainerService.HintSize="347,150" Line="3" Text="Checking Finished" Transition="None" />
                            </Transition.Action>
                            <Transition.Condition>[FK2Check = False]</Transition.Condition>
                          </Transition>
                        </State.Transitions>
                      </State>
                      <State x:Name="State3273" DisplayName="Exit" sap:VirtualizedContainerService.HintSize="114,61" IsFinal="True">
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">193,339.5</av:Point>
                            <av:Size x:Key="ShapeSize">114,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                      </State>
                      <State x:Name="State3272" DisplayName="WaitForCheckingResult" sap:VirtualizedContainerService.HintSize="221,61">
                                                                    <State.Entry>
                                                                    <Sequence sap:VirtualizedContainerService.HintSize="300,183">
                                                                      <sap:WorkflowViewStateService.ViewState>
                                                                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                                                          <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                                                        </scg3:Dictionary>
                                                                      </sap:WorkflowViewStateService.ViewState>
                                                                     <wfa:Prompt sap:VirtualizedContainerService.HintSize="243,22" Line="1" PType="WFState" Text="WaitForCheckingResult" Transition="None" />                                                                                        
                                                                    </Sequence>
                                                                  </State.Entry>
                        <sap:WorkflowViewStateService.ViewState>
                          <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                            <av:Point x:Key="ShapeLocation">319.5,109.5</av:Point>
                            <av:Size x:Key="ShapeSize">221,61</av:Size>
                            <x:Boolean x:Key="IsPinned">False</x:Boolean>
                            <x:Double x:Key="StateContainerWidth">207</x:Double>
                            <x:Double x:Key="StateContainerHeight">25</x:Double>
                          </scg3:Dictionary>
                        </sap:WorkflowViewStateService.ViewState>
                        <State.Transitions>
                          <Transition DisplayName="Pass/Fail" sap:VirtualizedContainerService.HintSize="430,606">
                            <Transition.Trigger>
                              <Sequence sap:VirtualizedContainerService.HintSize="388,208">
                                <sap:WorkflowViewStateService.ViewState>
                                  <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                    <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                    <x:Boolean x:Key="IsPinned">False</x:Boolean>
                                  </scg3:Dictionary>
                                </sap:WorkflowViewStateService.ViewState>
                                <wfa:BookMarkSendMessage Tag="{x:Null}" DisplayName="WaitForCheckResult" sap:VirtualizedContainerService.HintSize="200,22" JobContent="CheckFK999_ApplicationManagement_General" JobID="OnAwaitChecking" MachineEvent="QualityCheck" MessageType="WF2UI" Result="[CheckResult]" UpdateFedTime="YES" />
                              </Sequence>
                            </Transition.Trigger>
                            <sap:WorkflowViewStateService.ViewState>
                              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                                <av:PointCollection x:Key="ConnectorLocation">418.95,170.5 418.95,200.5 272.8,200.5 272.8,339.5</av:PointCollection>
                              </scg3:Dictionary>
                            </sap:WorkflowViewStateService.ViewState>
                            <Transition.To>
                              <x:Reference>State3273</x:Reference>
                            </Transition.To>
                          </Transition>
                        </State.Transitions>
                      </State>
                    </StateMachine>
                    </Sequence>
                  </State.Entry>
                  <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                        <av:Point x:Key="ShapeLocation">720,690</av:Point>
                      <av:Size x:Key="ShapeSize">100,50</av:Size>
                      <x:Boolean x:Key="IsPinned">False</x:Boolean>
                      <x:Double x:Key="StateContainerWidth">200</x:Double>
                      <x:Double x:Key="StateContainerHeight">20</x:Double>
                      <x:Boolean x:Key="IsExpanded">True</x:Boolean> 
                    </scg3:Dictionary>
                  </sap:WorkflowViewStateService.ViewState>
                  <State.Transitions>
                    <Transition DisplayName="Next" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">820,715 288,143.05 288,263.05 301,263.05</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.Condition>[CheckResult.Data=True]</Transition.Condition>
                      <Transition.To>
                        <x:Reference>State320</x:Reference>
                      </Transition.To>
                    </Transition>
                    <Transition DisplayName="Exit" sap:VirtualizedContainerService.HintSize="430,498">
                      <sap:WorkflowViewStateService.ViewState>
                        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                          <av:PointCollection x:Key="ConnectorLocation">820,715 117.2,499.5 370.1,499.5 370.1,529.5</av:PointCollection>
                        </scg3:Dictionary>
                      </sap:WorkflowViewStateService.ViewState>
                      <Transition.To>
                        <x:Reference>State320</x:Reference>
                      </Transition.To>
                      <Transition.Condition>[CheckResult.Data=False]</Transition.Condition>
                    </Transition>
                  </State.Transitions>
                </State>
                <State x:Name="State320" DisplayName="Final State" sap:VirtualizedContainerService.HintSize="114,61" IsFinal="True">
                  <sap:WorkflowViewStateService.ViewState>
                    <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                      <av:Point x:Key="ShapeLocation">1040,790</av:Point>
                      <av:Size x:Key="ShapeSize">114,61</av:Size>
                      <x:Boolean x:Key="IsPinned">False</x:Boolean>
                    </scg3:Dictionary>
                  </sap:WorkflowViewStateService.ViewState>
                </State>
              </StateMachine>
                   </If.Then>
                </If>
            </Sequence>
            </State.Entry>
            <sap:WorkflowViewStateService.ViewState>
              <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                <av:Point x:Key="ShapeLocation">233,199.5</av:Point>
                <av:Size x:Key="ShapeSize">114,61</av:Size>
                <x:Boolean x:Key="IsPinned">False</x:Boolean>
                <x:Double x:Key="StateContainerWidth">100</x:Double>
                <x:Double x:Key="StateContainerHeight">25</x:Double>
              </scg3:Dictionary>
            </sap:WorkflowViewStateService.ViewState>
            <State.Transitions>
              <Transition DisplayName="JobFinish" sap:VirtualizedContainerService.HintSize="430,498">
                <sap:WorkflowViewStateService.ViewState>
                  <scg3:Dictionary x:TypeArguments="x:String, x:Object">
                    <av:PointCollection x:Key="ConnectorLocation">290,260.5 290,290.5 347.1,290.5 347.1,359.5</av:PointCollection>
                  </scg3:Dictionary>
                </sap:WorkflowViewStateService.ViewState>
                <Transition.To>
                  <x:Reference>State33</x:Reference>
                </Transition.To>
              </Transition>
            </State.Transitions>
            <State.Variables>
              <Variable x:TypeArguments="x:Boolean" Name="PassOrFail" />
            </State.Variables>
          </State>
          <StateMachine.Variables>
            <Variable x:TypeArguments="led:ExDataRow" Name="Job" />
          </StateMachine.Variables>
        </StateMachine>
        </Sequence>        
      </State.Entry>
      <sap:WorkflowViewStateService.ViewState>
        <scg3:Dictionary x:TypeArguments="x:String, x:Object">
          <av:Point x:Key="ShapeLocation">463,239.5</av:Point>
          <av:Size x:Key="ShapeSize">183,61</av:Size>
          <x:Boolean x:Key="IsPinned">False</x:Boolean>
          <x:Double x:Key="StateContainerWidth">169</x:Double>
          <x:Double x:Key="StateContainerHeight">25</x:Double>
        </scg3:Dictionary>
      </sap:WorkflowViewStateService.ViewState>
      <State.Exit>
        <wfa:ClearView sap:VirtualizedContainerService.HintSize="614,150" />
      </State.Exit>
      <State.Transitions>
        <Transition DisplayName="Completed" sap:VirtualizedContainerService.HintSize="430,498">
          <Transition.Trigger>
            <wfa:Prompt DisplayName="JobFinish" sap:VirtualizedContainerService.HintSize="388,100" Line="1" Text="JobFinished" Transition="None" />
          </Transition.Trigger>
          <sap:WorkflowViewStateService.ViewState>
            <scg3:Dictionary x:TypeArguments="x:String, x:Object">
              <av:PointCollection x:Key="ConnectorLocation">590.4,239.5 590.4,209.5 255.6,209.5 255.6,229.5</av:PointCollection>
            </scg3:Dictionary>
          </sap:WorkflowViewStateService.ViewState>
          <Transition.To>
            <x:Reference>State2</x:Reference>
          </Transition.To>
        </Transition>
      </State.Transitions>
    </State>
  </StateMachine>
</Activity>